-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Adds fallback values to the xmodule xblocks global css variables #36183
Conversation
- Adds fallback to baseline variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good at a high level, good thinking. Please have an Aximprovements team member review as well, and ensure that you have manually tested. As discussed at sync-up, we'll need a follow-up to remove the redundant defaults within :root { ... }
TESTING NOTES We've:
|
I have done the manual testing a well. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
Adds fallback to variables.
In case required global css variables are not provided by the runtime, XBlocks should render normally on its default values.
Predecessor PR/stories:
#35300
#35233
Fallbacks of following global css variables has not been added (or not been added yet):
CSS
SCSS
Where I have taken the fallback values from?
I have copied the fallback values from
cms/static/css/studio-main-v1.css
file which generates when we compile the sass files like vianpm run compile-sass
command.